package org.spring.springboot.service.impl;

import java.util.List;

import org.spring.springboot.dao.StockDao;
import org.spring.springboot.domain.Level;
import org.spring.springboot.domain.Stock;
import org.spring.springboot.service.StockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StockServiceImpl  extends BaseServiceImpl<Stock,Integer> implements StockService {

	  @Autowired
	    private  StockDao  stockDao;


		@Override
		public List<Level> findByStoreId(int id) {
			
			return stockDao.findByStoreId(id);
		}






}
